import { createRouter, createWebHistory } from 'vue-router'
import LayoutView from '@/views/layoutView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    // {
    // 默认页配置
    //   path: '/',
    //   name: 'layoutView',
    //   component: LayoutView,
    //   redirect:'/home'
    // }
    {
      path: '/',
      name: 'layoutView',
      component: LayoutView,
    },
  ],
})

export default router
